package com.dzt.androidframework.jsoup.news.model;

import com.dzt.androidframework.jsoup.news.bean.ImageNews;

import java.util.List;

/**
 * Created by M02323 on 2017/7/12.
 */

public interface NewsDataSource {
	void getImageNewList(int page, OnImageNewLoadListener listener);

	interface OnImageNewLoadListener {
		void onSuccess(List<ImageNews.DataEntity> imageNews);

		void onFailed(String msg, Exception e);
	}
}
